<xsl:stylesheet version="1.0"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                xmlns:data="http://data.orders.team1.imse"
                xmlns:inv="http://inventory.team1.imse"
                xmlns:tr="http://transportationordering.team1.imse"
                xmlns:trd="http://data.transportationorders.team1.imse"
                xmlns:exslt="http://exslt.org/common" exclude-result-prefixes="inv data exslt">

    <xsl:output indent="yes" omit-xml-declaration="yes" method="xml"/>

    <xsl:strip-space elements="*"/>

    <xsl:template match="inv:bookOrderRespElement/inv:order">
        <tr:calcPriceFromWarToRetReqElement>
            <tr:route>
                <xsl:apply-templates select="data:packageUnit"/>
                <xsl:apply-templates select="data:destination"/>
            </tr:route>
        </tr:calcPriceFromWarToRetReqElement>
    </xsl:template>

    <xsl:template match="data:packageUnit">
        <trd:routeCity>
            <trd:locationName><xsl:value-of select="data:warehouse/data:city"/></trd:locationName>
        </trd:routeCity>
    </xsl:template>

    <xsl:template match="data:destination">
        <trd:routeCity>
            <trd:locationName><xsl:value-of select="data:city"/></trd:locationName>
        </trd:routeCity>
    </xsl:template>

</xsl:stylesheet>